package main

import (
	"fmt"
	//"github.com/mozillazg/go-pinyin"
	"io"
	"os"
)

func main() {
	// Defining w using Stdout
	w := os.Stdout

	// Calling WriteString method with its parameters
	n, err := io.WriteString(w, "GfG\n")

	// If error is not nil then panics
	if err != nil {
		panic(err)
	}

	// Prints output
	fmt.Printf("n:%d\n", n)

	/*fmt.Println("123")
	hans := "中国人"
	// 默认
	a := pinyin.NewArgs()
	fmt.Println(pinyin.Pinyin(hans, a))

	//包含声调
	a.Style = pinyin.Tone
	fmt.Println(pinyin.Pinyin(hans, a))

	//开启多音字
	a = pinyin.NewArgs()
	a.Heteronym = true
	fmt.Println(pinyin.Pinyin(hans, a))

	//
	fmt.Println(pinyin.LazyConvert(hans, nil))
	*/
}
